phpseclib3\File\X509 D

Total Complexity 746
Dependencies 55
Dependents 1
Total lines 4,022
Lines of code 2,292
Logical lines of code 1,520
Comment lines 1,224
Methods 90
Properties 20

Methods 90

Method Rating Maintainability Complexity Lines of code
translateDNProp()
D
31 56 83
validateSignatureCountable()
D
29 49 106
sign()
D
27
39 136
getMapping()
D
33 40 79
getDN()
D
29
35 120
signCRL()
C
35 24 84
validateSignatureHelper()
B
40 22 60
identifySignatureAlgorithm()
B
44 22 44
computeKeyIdentifier()
B
41 18 52
getDNProp()
B
43 16 47
mapOutExtensions()
A
41 15 51
loadCRL()
A
43 15 48
loadX509()
A
42 14 51
getChain()
A
46 14 36
validateURL()
A
47 13 33
extensions()
A
46 12 39
mapInExtensions()
A
46 12 35
loadCSR()
A
43 11 50
getPublicKey()
A
48 12 33
setAttribute()
A
46 11 40
removeAttribute()
A
47 11 35
fetchURL()
A
46 11 35
mapInAttributes()
A
50 10 27
loadSPKAC()
A
45 9 41
signCSR()
A
46 9 38
signSPKAC()
A
46 9 37
testForIntermediate()
A
49 9 31
saveX509()
A
43 8 45
getAttribute()
A
51 9 27
saveCRL()
A
46 8 36
mapOutAttributes()
A
50 8 27
setDN()
A
51 8 26
validateDate()
A
55 8 18
__construct()
S
33 2 100
mapOutDNs()
S
54 7 19
mapInDNs()
S
55 7 18
saveCSR()
S
50 6 27
saveSPKAC()
S
53 6 22
setDNProp()
S
55 6 20
subArray()
S
56 6 19
removeDNProp()
S
55 6 19
revoke()
S
58 6 15
getSubjectDNProp()
S
59 6 13
getSubjectDN()
S
60 6 13
setExtensionHelper()
S
56 5 18
removeExtensionHelper()
S
56 5 18
listRevoked()
S
59 5 15
isSubArrayValid()
S
59 5 15
setEndDate()
S
60 5 12
getIssuerDN()
S
62 5 11
getIssuerDNProp()
S
62 5 11
revokedCertificate()
S
57 4 16
getAttributes()
S
61 4 13
subArrayUnchecked()
S
61 4 13
getExtensionHelper()
S
61 4 12
getRevokedCertificateExtensions()
S
62 4 11
getRevokedCertificateExtension()
S
62 4 11
setRevokedCertificateExtension()
S
62 4 10
timeField()
S
61 3 12
loadCA()
S
57 2 19
getExtensionsHelper()
S
64 3 10
setStartDate()
S
69 3 6
registerExtension()
S
66 3 8
unrevoke()
S
63 3 10
formatSubjectPublicKey()
S
62 3 10
removeRevokedCertificateExtension()
S
65 3 8
getRevoked()
S
66 3 8
setKeyIdentifier()
S
70 2 7
getRegisteredExtension()
S
77 2 3
encodeIP()
S
72 2 5
makeCA()
S
81 1 3
setRecurLimit()
S
80 1 3
disableURLFetch()
S
80 1 3
decodeIP()
S
80 1 3
validateSignature()
S
79 1 3
enableURLFetch()
S
80 1 3
setDomain()
S
72 1 5
iPAddress()
S
80 1 3
dnsName()
S
80 1 3
setIPAddress()
S
81 1 3
setSerialNumber()
S
79 1 3
decodeNameConstraintIP()
S
69 1 6
setPublicKey()
S
81 1 3
setPrivateKey()
S
81 1 3
setChallenge()
S
81 1 3
setExtension()
S
78 1 3
getExtensions()
S
79 1 3
getExtension()
S
79 1 3
removeExtension()
S
80 1 3
setExtensionValue()
S
80 1 3